/**
 * 
 */
package domain;

import java.util.*;

/**
 * @author it-equipment-selection team
 *
 */
public class SupplierQuery implements IQuery {

	/* (non-Javadoc)
	 * @see domain.IQuery#productQuery()
	 * @returns all products Collection
	 */
	public Collection productQuery(Collection products, Collection articles) {
		Iterator it = products.iterator();
		Collection aux = new ArrayList();
		while (it.hasNext()){
			Product p = (Product) it.next();
			aux.add(p);
		}
		return aux;
	}

}
